import http from "@/http";


// 首页总数接口
export const getDashboradTotalApi = () => {
  return http.get("/api/dashboard/getTotal");
};

// 七天订单接口
export const getOrderTrendApi = () => {
  return http.get("/api/dashboard/getOrderTrend");
};


// 分类商品接口
export const getCategoryGoodsCountApi = () => {
  return http.get("/api/dashboard/getCategoryGoodsCount");
};
